<?php

namespace App\Providers;

use Laravel\Lumen\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider
{
    /**
     * The event listener mappings for the application.
     *
     * @var array
     */
    protected $listen = [
        'App\Events\AppointEvent' => [
            'App\Listeners\AppiontListener',
        ],
        'App\Events\ScheduleEvent' => [
            'App\Listeners\ScheduleListener',
        ],
        'App\Events\CourseEvent' => [
            'App\Listeners\OrderListener',
            'App\Listeners\CourseListener',
        ],
        'App\Events\TeacherEvent' => [
            'App\Listeners\TeacherListener',
        ],
        'App\Events\StudentEvent' => [
            'App\Listeners\StudentListener',
        ],
        'App\Events\CloudEvent' => [
            'App\Listeners\CloudListener',
        ],
        'App\Events\AccountEvent' => [
            'App\Listeners\AccountListener',
        ],
        'App\Events\ClassInEvent' => [
            'App\Listeners\ClassInListener',
        ],
        'App\Events\EmailEvent' => [
            'App\Listeners\EmailListener',
        ],
        'App\Events\WechatEvent' => [
            'App\Listeners\WechatListener',
        ]
    ];
}
